//
//  AccountListTableViewCell.m
//  FaceRecognition
//
//  Created by syun on 17/2/9.
//  Copyright © 2017年 Sylar. All rights reserved.
//

#import "AccountListTableViewCell.h"

@implementation AccountListTableViewCell

@synthesize numlab,nameLabel,timeLabel;


- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    if (self) {
        self = [super initWithStyle:style reuseIdentifier:reuseIdentifier
                ];
        numlab = [[UILabel alloc]initWithFrame:CGRectMake(15, 14, 50, 16)];
        numlab.textAlignment = NSTextAlignmentLeft;
        numlab.font = [UIFont systemFontOfSize:16];
        numlab.textColor = [UIColor colorWithHexString:@"3b3b3b"];
        [self addSubview:numlab];
        
        nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(0, 14, SCREENWIDTH/2, 16)];
        nameLabel.textColor =[UIColor colorWithHexString:@"000000"];
        nameLabel.font = [UIFont systemFontOfSize:16];
        nameLabel.textAlignment = NSTextAlignmentCenter;
        [self addSubview:nameLabel];
        
        timeLabel = [[UILabel alloc]initWithFrame:CGRectMake(SCREENWIDTH/2, 14.5, SCREENWIDTH/2, 15)];
        timeLabel.textAlignment = NSTextAlignmentCenter;
        timeLabel.font = [UIFont systemFontOfSize:15];
        timeLabel.textColor =RGBCOLOR(151, 151, 151);
        [self addSubview:timeLabel];
    }
    return self;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
